package org.lagou.sqlSeesion;

import org.lagou.pojo.Configuration;
import org.lagou.pojo.MapperStatement;

import java.util.List;

public interface Executor {

    public <E> List<E> query(Configuration configuration, MapperStatement mapperStatement, Object... params) throws Exception;

    public int doUpdate(Configuration configuration, MapperStatement mapperStatement, Object... params) throws Exception;
}
